<%@ page import="com.jt.shop.util.Cons" %>
<%--
  Created by IntelliJ IDEA.
  User: he
  Date: 2015/9/5
  Time: 21:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title></title>
</head>
<body>

<div>
    <p>欢迎, ${loginUser.username}</p>
    <a href="/address/add">添加地址</a>
    <a href="/address/list?userId=${loginUser.id}">查看地址</a>
    <c:if test="${loginUser.type eq 1}">
        <a href="/user/add">添加用户</a>
    </c:if>
</div>
</body>
</html>
